---
title: clsCreateFileManager
summary: API reference for clsCreateFileManager.
status: draft
owner: SAIF Claims BOF team
last_reviewed: 2026-08-21
library: SAIF.Application.Claim.Legal
reference_type: embedded
---

# clsCreateFileManager

`clsCreateFileManager` backs the "create file" screen: it retrieves the list of pending letter/file-creation requests, updates their mailed date, and submits an Appworx batch print job for the underlying letters (`LGN0002_LEGALNET_LETTERS`). It reads the current user's default printer at construction time to support this print submission. It inherits `LegalManagerBase` (this library) → `ClaimAppManager` (`SAIF.Application.Claim`).

## Purpose
- Retrieve the list of pending "create file" letter requests for the create-file screen.
- Update the mailed date on letter requests once they have been printed and sent.
- Submit an Appworx batch print job (`LGN0002_LEGALNET_LETTERS`) for the selected letter requests via `SAIF.Services.Appworx`.

## Context
- Namespace: `SAIF.Application.Claim.Legal`
- Assembly/package: `SAIF.Application.Claim.Legal.dll` (embedded library, referenced by the `Legal` web front end)

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| `New(inDatabase, inSecurityPrincipal)` | `Public Sub New(inDatabase As String, inSecurityPrincipal As clsSecurityPrincipal)` | Constructs the manager for the given database context and authenticated principal, calling into `LegalManagerBase.New` and capturing the principal's default printer for later Appworx submissions. |
| `LetterRequestCol` | `Public ReadOnly Property LetterRequestCol As clsLetterRequestCollection`* | Exposes the collection of pending letter/create-file requests. |
| `UpdateMailedDate()` | `Public Sub UpdateMailedDate()`* | Sets the mailed date on the selected letter request(s) once printing has been confirmed. |
| `PrintLetters()` | `Public Sub PrintLetters()` | Filters `LetterRequestCol` to entries matching the updated case sequence numbers and calls `SAIF.Services.Appworx.clsRequestAppworxJob.SubmitBatchJob` with job name `"LGN0002_LEGALNET_LETTERS"` to submit the batch print job. |

## Behavioral notes
- `PrintLetters()` delegates the actual print-job submission entirely to `SAIF.Services.Appworx.clsRequestAppworxJob.SubmitBatchJob`; the batch job's own processing steps are documented in that referenced library, not here.

## Constraints and usage notes
- The captured default printer is used as the target printer for the Appworx submission; callers should ensure the principal has a valid default printer configured*.

> **Note:** Statements marked with * were inferred from code structure, naming conventions, or
> contextual evidence where direct confirmation was not available in source artifacts.

## Sources
- `SAIF.Application.Claim.Legal\LegalNet\clsCreateFileManager.vb`
